package com.zl.csMall.mine.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zl.csMall.mine.user.po.User;

public interface UserService extends IService<User> {

    /**
     * @description: 根据openId查询用户
     * @param openId
     * @author ChenNing
     * @date: 2025-10-22 16:02
     */
    User getByOpenId(String openId);

    /**
     * @description: 根据用户名查询用户
     * @param username 用户名
     * @author ChenNing
     * @date: 2025-10-23 14:35
     */
    User getByUsername(String username);

}
